using Godot;

namespace MyCraft2;

public static class AudioStreamPlayerExtend
{
    public static void PlayAudioStream(this AudioStreamPlayer audioStreamPlayer, AudioStream audioStream)
    {
        audioStreamPlayer.Stream = audioStream;
        audioStreamPlayer.Play();
    }
}